﻿#parse("/layout/header.htm")

<title>单页统计</title>
<style>
       
        table{ border-collapse:collapse; }
        td{ border:#ccc solid 1px; padding:5px; }
    </style>
<div data-role="page" id="page">
   
    
    <div data-role="content">
        <table>
            <tr>
                <td ><b><a href="javascript:location.href='/s?u=$model.code'">$!model.title</a></b><br/>
                    发布时间:$this.formatdate($model.releasetime) 阅读次数:$model.readcount 点击广告:$model.clickcount 被分享次数:$fxcs
                </td>
            </tr>
            <tr >
                <td style="background-color:#ffd800">
                    分享统计
                </td>
            </tr>
            <tr>
                <td >&nbsp;
                    #foreach($f in $fx1)
                    $funhelper.encode("$f.wxfrom","groupmessage","讨论群","singlemessage","单个朋友","timeline","朋友圈")（$f.c）次
                    #end
                </td>
            </tr>
            <tr >
                <td style="background-color:#ffd800">
                    区域统计(Top 10)
                </td>
            </tr>
            <tr>
                <td >
                    #foreach($f in $fx2)
                    $f.city（$f.a）次
                    #end
                </td>
            </tr>
            <tr >
                <td style="background-color:#ffd800">
                    客户端分析(Top 10)
                </td>
            </tr>
            <tr>
                <td >
                    #foreach($f in $fx3)
                    $f.UserAgent（$f.a）次
                    #end
                </td>
            </tr>

        </table>

       <a data-role="button" href="javascript:location.href='/r'">返回统计分析</a>
    </div>

    
</div>

#parse("/layout/footer.htm")


<script>
    //关闭
    $("#start").on("click", function () {
        wx.closeWindow();
    });
</script>





